
<!DOCTYPE html>
<html>
<head>
	<title>详细地址</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="viewport" content="width=device-width,user-scalable=no" />
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/css/common.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/css/Validform.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/css/address_detail.css">
</head>
<body>
	<!-- <div class="header">
		<div class="back">
			<a href=""></a>
		</div>
		添加新地址
	</div> -->
	<form class="addaddress_form">
	<div class="addaddress">

	    <input type="hidden" class="addinput  addinput_hidden" name = "address_id" value = "<?php echo isset($address_id)?$address_id:'';?>">
		<div class="name"><input type="text" class="addinput " id="name"  datatype="*" placeholder="收货人姓名" name = "name" value = "<?php echo isset($name)?$name:'';?>"></div>
		<div class="tel"><input type="text"  class="addinput " id="tel"  datatype="m" placeholder="联系电话" name = "tel" value = "<?php echo isset($tel)?$tel:'';?>"></div>
		<div class="city">
				<select class="province">
				  <option value ="选择省">选择省</option>
				</select>
				<div class="jiao"><img src="<?php echo $this->config->item('public_url');?>/images/info.png" alt=""></div>
				<select class="citys">
				  <option value ="选择市">选择市</option>
				</select>
				
			
		<!-- <input type="text"  class="addinput" placeholder="所在地区" value = "<?php echo $province; echo $city;?>"> -->

		</div>
		<div class="address"><textarea  class="addinput address_textarea" id="address_textarea" datatype="*"  placeholder="详细地址" name = "address"><?php echo isset($address)?$address:'';?></textarea></div>
	</div>
	<div class="default"><label> <div class="defaultcheckbox"><input type="checkbox" class="checkbox" data-default = "<?php echo isset($is_default)?$is_default:'';?>"></div> 设置为默认地址</label></div>


	<div class="address_del_ok">
		<ul>
			<li class="address_del">删除</li>
			<li class="address_save">保存</li>
		</ul>
	</div>
<form>

<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/Validform_v5.1_min.js"></script>

<script type="text/javascript">
	var url = "<?= site_url('Npoint_store/Address/address_linkage')?>";
	var edit ="<?= site_url('Npoint_store/Address/address_edit')?>"
	var del = "<?= site_url('Npoint_store/Address/address_del')?>"
	var href = "<?= site_url('Npoint_store/Address/address_lst')?>"
</script>
<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/common.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/cookie.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/address_detail_new.js"></script>
</body>
</html>